package com.ruoyi.common.exception.hcy.product;

/**
 * @ClassName IllegalCountException
 * @Author SAI
 * @Date 2020/9/17 19:41
 * @Description IllegalCountException
 * @Version 1.0
 */
public class IllegalCountException extends RuntimeException {

    protected final String message;

    public IllegalCountException(String message)
    {
        this.message = message;
    }

    public IllegalCountException(String message, Throwable e)
    {
        super(message, e);
        this.message = message;
    }

    @Override
    public String getMessage()
    {
        return message;
    }
}
